﻿<wpfc:HostControl x:Class="Sobiens.SPCamlStudio.UI.Controls.ServerObjectExplorer"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:wpfc="clr-namespace:Sobiens.SPCamlStudio.UI.Controls"
             mc:Ignorable="d">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="20"/>
            <RowDefinition Height="25"/>
            <RowDefinition Height="100*"/>
        </Grid.RowDefinitions>

        <Label Grid.Row="0" Content="Object Explorer" Height="20" Margin="0,0,0,0" FontSize="9" Background="#4A6184" Foreground="White"/>
        <StackPanel Grid.Row="1" Background="#BDC7DE" Orientation="Horizontal">
            <Label Width="60">Connect</Label>
            <Button Background="Transparent" ToolTip="Connect" BorderThickness="0" Height="21" Click="ServerConnectButton_Click" Name="ServerConnectButton">
                <Button.Content>
                        <Image Source="Images/ServerConnect.png" Height="18" Width="18" />
                </Button.Content>
            </Button>
        </StackPanel>
        <TreeView Grid.Row="2" Name="FoldersTreeView" SelectedItemChanged="FoldersTreeView_SelectedItemChanged" VerticalAlignment="Stretch" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" ContextMenuOpening="FoldersTreeView_ContextMenuOpening"></TreeView>
    </Grid>
</wpfc:HostControl>
